package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 水浒卡 合成 分解 日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_shuihu_compose", desc = "水浒卡合成分解日志", autoSave = true, uploadCk = true)
public class LogShuiHuCompose extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "类型：1合成，2分解")
    private int type;
    @FieldTypeAnnotation(desc = "卡片ID")
    private int cardId;
    @FieldTypeAnnotation(desc = "数量")
    private int count;
    @FieldTypeAnnotation(desc = "英雄点（都是正数）")
    private int point;

    public LogShuiHuCompose(long userId, int activityId, int type, int cardId, int count, int point) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.cardId = cardId;
        this.count = count;
        this.point = point;
    }

    public long getUserId() {
        return userId;
    }

}
